import {
	request
}
from './req';

const getStoreListInfo = params => request('hc/hcMerchant/getMerchantListOfGlobalPage', params, 'get');
const getStoreDataList = params => request('hc/hcOrderMerchant/getOrderListOfGlobalPage', params, 'get');
const changeGoodState = params => request('hc/hcMerchant/editDeliveryStatus', params, 'post');
const getStoreDataInfo = params => request('hc/hcOrderMerchant/getOrderStatisticsOfGlobalPage', params, 'get');
const exportExcelById = params => request('hc/hcOrderMerchant/exportXlsGlobalPage', params, 'get');
const getStoreGoodList = params => request('hc/hcOrderMerchant/getOrderListByMerchantIdGlobalPage', params, 'get');
const getStoreSystemInfo = params => request('hc/hcOrderMerchant/getMerchantDataListGlobalPage', params, 'get');
const getSiteList = params => request('hc/hcSite/getList', params, 'get');
const getEdificeList=params=>request('hc/hcSiteAddressDetails/getAddressList',params,'get');
const getGlobalData=params=>request('hc/hcOrderMerchant/queryGlobalData',params,'post');
const getAllCompanyList=params=>request('hc/hcCompanyInfo/getAllCompanyList',params,'get');
const getGlobalMerchantOrderList=params=>request('hc/hcCompanyFoodOrder/getGlobalMerchantOrderList',params,'get');
const getGlobalMerchantOrderDetailsList=params=>request('hc/hcCompanyFoodOrder/getGlobalMerchantOrderDetailsList',params,'get');
const getMenuListWithNum = params => request('hc/hcCompanyFoodOrder/getOrderStatistics', params, 'get');
const getOrderWithCompany = params => request('hc/hcCompanyFoodOrder/queryMerchantPageListNew', params, 'get');
const login = params=> request('hc/hcUser/globalLogin', params, 'post')

export {
	getStoreListInfo, //获取全局页面商户列表
	getStoreDataList, //获取全局页面订单列表
	getStoreDataInfo, //获取全局页面订单列表统计数据
	exportExcelById, //
	changeGoodState,
	getSiteList, //获取站点列表
	getStoreGoodList,
	getStoreSystemInfo,
	getEdificeList, //获取大厦名称
	getGlobalData, //获取全局端数据
	getAllCompanyList, //获取所有公司
	getGlobalMerchantOrderList, //查询某个公司的订单
	getGlobalMerchantOrderDetailsList, //点击某个商户获取对应的订单明细
	getMenuListWithNum, //获取对应菜单及数量
	getOrderWithCompany, //获取订单--公司
	login, //登录
}
